<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>会员中心 - ${title}</title> 
		<#include "/front/head.html"/>
        <link type="text/css" rel="stylesheet" href="/res/front/css/sytle/user-css/user_message.css" />
        <script type="text/javascript" src="/res/front/js/js/jquery-ui-js/jquery-1.8.3.js"></script>
		<script type="text/javascript" src="/res/front/js/js/jquery-ui-js/jquery-ui-1.9.2.custom.js"></script>
        <link rel="stylesheet" href="/res/front/css/sytle/jquery-ui-css/jquery-ui-main.css" />
		<script type="text/javascript" charset="utf-8">
			function getTableForm() {
				return document.getElementById('jvForm');
			}
        	
			$(function() {
				$('.record_list_div table tbody tr:odd').css('background-color','#f6fbff');
				$('.record_list_div table tbody tr:even').css('background-color','#ffffd5');
				
				$( document ).tooltip({
				  	track: true
				});
			});  
        </script>

	</head>
<!---------- 交易记录页面\ROOT\WEB-INF\front\member\dealDetail.html ---------->
	<body>
    	<!-- 头部 -->
        <#include "/front/common/header.html"/>
        <!-- 中部 -->
        <div class="memeber_middle">
        	<div class="member_record_location_div">
                <span>
                    <b><a href="/index.jspx">首页</a></b>&nbsp;>
                    <b>资金管理</b>&nbsp;>
                    <b>交易记录</b>
                </span>
            </div>
        	<div class="memeber_record_centre">
                <!-- 左边目录 -->
                <div class="memeber_left_nav_div">
                	<#include "会员中心页_导航.html"/>
                </div>
                <!-- 右边目录明细 -->
                <div class="transaction_record_right_detail_div">
                	<div class="transactionRecord_div">
                    	<div class="transactionRecord_title_header"><b>交易记录</b></div>
                        <div class="record_list_div">
                        	<form id="jvForm" action="v_trechargeList.do" method="post">
                            	<input type="hidden" name="pageNo" value=""/>
                                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                                    <thead>
                                        <tr>
                                            <td width="120" height="35" align="center">交易金额</td>
                                            <td width="80" align="center">交易方向</td>
                                            <td width="150" align="center">交易类型</td>
                                            <td width="150" align="center">交易时间</td>
                                            <td width="160" align="center"> 对方</td>
                                            <td width="160" align="center">备注</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <#list pagination.list! as entity>
                                            <tr>
                                                <td height="35">${(entity.tranamount!0)?string.currency}</td>
                                                <td align="center">
                                                    <#list borrowingMap?keys as idKey>
                                                        <#if idKey==entity.borrowing!?string> 
                                                        	${borrowingMap[idKey]}
                                                        </#if>
                                                    </#list>
                                                </td>
                                                <td align="center">
                                                    <#list trantypeMap?keys as idKey>
                                                        <#if idKey==entity.trantype!?string> 
                                                        	${trantypeMap[idKey]}
                                                        </#if>
                                                    </#list>
                                                </td>
                                                <td>${entity.trandatetime!?html}</td>
                                                <td align="center" title="<#if entity.tfinanceinfo??>                                                        
                                                            ${entity.tfinanceinfo.financekey!}
                                                	</#if>">
                                                	<#if entity.tfinanceinfo??>
                                                        <a href="/member/v_tfinanceinfoDetail2.jspx?fiid=${entity.tfinanceinfo.fiid}">
                                                            ${entity.tfinanceinfo.financekey!}
                                                        </a>
                                                	<#else>
                                                		${entity.otherside!?html}
                                                	</#if>
                                                </td>
                                                <td title="${entity.remark!?string}">
                                                ${entity.remark!'&nbsp;'?string}
                                                </td>
                                            </tr>
                                        </#list>
                                    </tbody>
                                </table>
                                <!-- 分页div -->
                                <div style="width:900px; text-align:center; margin-top:20px;">
                                	共 ${pagination.totalCount} 条&nbsp;
                每页 ${pagination.pageSize} 条&nbsp;
                               <!-- <input type="text" value="20" style="width:30px" onfocus="this.select();" onblur="$.cookie('_cookie_page_size',this.value,{expires:3650});" onkeypress="if(event.keyCode==13){$(this).blur();return false;}"/>-->

                <input type="button" class="first-page"value="首 页" onclick="_gotoPage('1');"<#if pagination.firstPage> disabled="disabled"</#if>/>
                <input type="button" class="pre-page" value="上一页" onclick="_gotoPage('${pagination.prePage}');"<#if pagination.firstPage> disabled="disabled"</#if>/>
                <input type="button" class="next-page" value="下一页" onclick="_gotoPage('${pagination.nextPage}');"<#if pagination.lastPage> disabled="disabled"</#if>/>
                <input type="button" class="last-page" value="尾 页" onclick="_gotoPage('${pagination.totalPage}');"<#if pagination.lastPage> disabled="disabled"</#if>/>&nbsp;
                当前 ${pagination.pageNo}/${pagination.totalPage} 页 &nbsp;转到第<input type="text" id="_goPs" style="width:50px" onfocus="this.select();" onkeypress="if(event.keyCode==13){$('#_goPage').click();return false;}"/>页
                <input id="_goPage" class="go"  type="button" value="转" onclick="_gotoPage($('#_goPs').val());"<#if pagination.totalPage==1> disabled="disabled"</#if>/>
                                </div>
                            </form>
                            <script type="text/javascript"> 
								function _gotoPage(pageNo) {
									try{
										var tableForm = getTableForm();
										$("input[name=pageNo]").val(pageNo);
										tableForm.action="v_tmemberassetaccountdetailsList.jspx";
										tableForm.onsubmit=null;
										tableForm.submit();
									} catch(e) {
										alert('_gotoPage(pageNo)方法出错');
									}
								}
							</script> 
                        </div>
                    </div>
                </div>
                
                <div style="clear:both;"></div>
            </div>
        </div>
		<!-- 底部 -->
		<#include "/front/common/footer.html"/>
	</body>
</html>
